(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/goods/detail/children/sh-groupon" ], {
    1673: function(o, t, n) {
        n.r(t);
        var e, a = n("c4c6"), i = n("98d0");
        for (e in i) "default" !== e && function(o) {
            n.d(t, o, function() {
                return i[o];
            });
        }(e);
        n("91d9");
        var r = n("f0c5"), a = Object(r.a)(i.default, a.b, a.c, !1, null, null, null, !1, a.a, void 0);
        t.default = a.exports;
    },
    "33c1": function(o, t, n) {
        Object.defineProperty(t, "__esModule", {
            value: !0
        }), t.default = void 0;
        var e = {
            components: {},
            data: function() {
                return {
                    grouponTeamList: [],
                    showModal: !1
                };
            },
            props: {
                grouponData: {}
            },
            computed: {},
            beforeDestroy: function() {},
            created: function() {
                this.getGrouponItem();
                var e = this;
                setInterval(function() {
                    e.grouponTeamList.forEach(function(o, t) {
                        var n = new Date().getTime(), n = (1e3 * o.expiretime - n) / 1e3, n = e.$tools.formatToHours(n);
                        e.$set(e.grouponTeamList[t], "time", n);
                    });
                }, 1e3);
            },
            methods: {
                hideModal: function() {
                    this.showModal = !1;
                },
                jump: function(o, t) {
                    this.$Router.push({
                        path: o,
                        query: t
                    });
                },
                joinTeam: function(o, t) {
                    this.showModal = !1, this.$Router.push({
                        path: o,
                        query: t
                    });
                },
                onMoreGrouponTeam: function() {
                    this.showModal = !0;
                },
                getGrouponItem: function() {
                    var t = this;
                    t.$api("goods.grouponItem", {
                        goods_id: t.grouponData.id,
                        activity_id: t.grouponData.activity.id
                    }).then(function(o) {
                        1 === o.errno && (t.grouponTeamList = o.data);
                    });
                }
            }
        };
        t.default = e;
    },
    "91d9": function(o, t, n) {
        var e = n("bda2");
        n.n(e).a;
    },
    "98d0": function(o, t, n) {
        n.r(t);
        var e, a = n("33c1"), i = n.n(a);
        for (e in a) "default" !== e && function(o) {
            n.d(t, o, function() {
                return a[o];
            });
        }(e);
        t.default = i.a;
    },
    bda2: function(o, t, n) {},
    c4c6: function(o, t, n) {
        n.d(t, "b", function() {
            return e;
        }), n.d(t, "c", function() {
            return a;
        }), n.d(t, "a", function() {});
        var e = function() {
            this.$createElement;
            var o = (this._self._c, parseInt(this.grouponData.activity.richtext_id));
            this.$mp.data = Object.assign({}, {
                $root: {
                    m0: o
                }
            });
        }, a = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/goods/detail/children/sh-groupon-create-component", {
    "pages/goods/detail/children/sh-groupon-create-component": function(o, t, n) {
        n("543d").createComponent(n("1673"));
    }
}, [ [ "pages/goods/detail/children/sh-groupon-create-component" ] ] ]);